import {post, get, patch, put, deletefn, postByFormData} from '../common/http'

const sList = p => get("/TestCaseStep/list", p);
const sAddToCase = p => post("/TestCaseStep/addApiStep", p);
const sUpdate = p => post("/TestCaseStep/update", p);
const sUpdateOne = p => post("/TestCaseStep/updateOne", p);
const sDelete = p => deletefn("/TestCaseStep/delete", p);
export default {
  sList,
  sAddToCase,
  sUpdate,
  sUpdateOne,
  sDelete,
}
